#include <stdio.h>
#include <string.h>
int main(int argc,const char * argv[])
{
 //定义⼀个变量a int 类型 ⾥⾯放999
 int a = 0x12345678;
 char * p = (char *)&a;
 if(*p == 0x12)
 {
 printf("⼤端存储！\n");
 }else if(*p == 0x78)
 {
 printf("⼩端存储！\n");
 }
 return 0;
}
